//
//  RootView.m
//  DouBan
//
//  Created by lanou3g on 15/8/8.
//  Copyright (c) 2015年 xuzheng. All rights reserved.
//

#import "RootView.h"

@implementation RootView
- (id)initWithFrame:(CGRect)frame{
    self=[super initWithFrame:frame];
    if (self) {
        [self setView];
    }
    return self;
}
- (void)setView{
    self.table=[[UITableView alloc]initWithFrame:[UIScreen mainScreen].bounds];
    [self addSubview:self.table];
}



/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
